package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;

import java.util.List;
import java.util.Map;

//根据用户名, 查询对应的用户对象集合
public interface AdminService {


    List<DtsAdmin> findAdmin(String username);

    IPage<DtsAdmin> adminListPage(Integer page, Integer limit, String sort, String order, String username);

    void insertAdmin(DtsAdmin admin);

    List<DtsAdmin> findOthersById(Integer id,String username);

    DtsAdmin findAdminById(Integer id);

    void update(DtsAdmin admin);

    void delete(DtsAdmin admin);

    List<Map<String,Object>> adminList();
    public List<DtsAdmin> findAdminByUserName(String userName);



}
